package job.sanyi;

import java.util.ArrayList;
import java.util.Collections;

/**
 * Author: Zhang Dongwei
 * Date: 2023/8/16 13:39
 */


public class sy1 {
    private int val;

    public sy1(int v) {
        val = v;
    }

    public static void main(String args[]) {
        sy1 a = new sy1(10);
        sy1 b = new sy1(10);
        sy1 c = a;
        int d = 10;
        double e = 10.0;

        System.out.println(a==c);
        System.out.println(e==e);
//        System.out.println(b==d);
        System.out.println(a==b);
        System.out.println(b==c);
        System.out.println(d==10.0);
    }
}